JtlWooCommerceConnector\Controllers\ImageController D

Total Complexity 145
Dependencies 24
Dependents 2
Total lines 986
Lines of code 597
Logical lines of code 368
Comment lines 187
Methods 33
Properties 2

Methods 33

Method Rating Maintainability Complexity Lines of code
productImagePull()
A
44 12 41
deleteProductImage()
A
42 11 54
pushProductImage()
A
43 11 50
addNextImages()
A
44 11 43
saveImage()
A
42 9 49
masterProductImageStats()
A
47 9 36
fetchProductAttachments()
S
50 7 29
fetchProductAttachmentIds()
S
52 7 26
deleteImageTermMeta()
S
51 6 27
statistic()
S
56 6 19
getImageAlt()
S
58 5 16
push()
S
59 5 14
relinkImage()
S
52 4 26
deleteIfNotUsedByOthers()
S
64 5 10
deleteData()
S
63 4 12
getNextAvailableImageFilename()
S
59 3 13
filterAlreadyLinkedProducts()
S
61 3 12
getManufacturerImagePullQuery()
S
67 3 8
getCategoryImagePullQuery()
S
67 3 8
pull()
S
59 2 14
manufacturerImagePull()
S
66 2 9
deleteAllProductImages()
S
63 2 10
categoryImagePullByQuery()
S
66 2 9
pushCategoryImage()
S
64 2 9
pushManufacturerImage()
S
64 2 9
getGalleryImages()
S
67 2 7
isAttachmentUsedInOtherPlaces()
S
62 1 13
isCoverImage()
S
80 1 3
__construct()
S
75 1 4
delete()
S
80 1 3
sanitizeImageName()
S
67 1 7
addProductImagesForPost()
S
75 1 4
createFilePath()
S
77 1 3